<?php
declare (strict_types = 1);

namespace app\admin\controller;
use think\facade\View;
class Index
{
    public function index()
    {
        $username = session('username');
        return View::fetch('index',['user' => $username]);
    }

    public function welcome()
    {
        return View::fetch('welcome');
    }
}
